package com.coolcode.dto;


import com.coolcode.vo.LoginReqVO;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
public class LoginReqDto {

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    public LoginReqDto(LoginReqVO vo) {
        this.username = vo.getUsername();
        this.password = vo.getPassword();
    }
}
